package org.tool.core.pattern;

import org.common.constant.MagicValue;

import java.util.regex.Pattern;

import static org.common.constant.MagicValue.EMPTY;

/**
 * 预编译的正则表达式常量
 *
 * @author 李坤
 * @date 2021/12/31
 */
public final class PrecompiledPattern {

    /**
     * 正则表达式-""
     */
    public static final Pattern SPLIT_EMPTY_PATTERN = Pattern.compile(EMPTY);

    /**
     * 正则表达式-","
     */
    public static final Pattern SPLIT_DELIMITER = Pattern.compile(MagicValue.DELIMITER_STR);

    /**
     * 正则表达式-"."
     */
    public static final Pattern SPLIT_POINT_PATTERN = Pattern.compile(MagicValue.SPLIT_POINT);

}
